@inject ManagerLocalizer Localizer

<script>
    piranha.resources.init({
        add: "@Html.Raw(Localizer.General["Add"])",
        all: "@Html.Raw(Localizer.General["All"])",
        cancel: "@Html.Raw(Localizer.General["Cancel"])",
        copy: "@Html.Raw(Localizer.General["Copy"])",
        delete: "@Html.Raw(Localizer.General["Delete"])",
        draft: "@Html.Raw(Localizer.General["Draft"])",
        drafts: "@Html.Raw(Localizer.General["Drafts"])",
        ok: "@Html.Raw(Localizer.General["Ok"])",
        low: "@Html.Raw(Localizer.General["Low"])",
        medium: "@Html.Raw(Localizer.General["Medium"])",
        high: "@Html.Raw(Localizer.General["High"])",
        important: "@Html.Raw(Localizer.General["Important"])",
        scheduled: "@Html.Raw(Localizer.General["Scheduled"])",
        emptyAddAbove: "@Html.Raw(Localizer.General["Looks like there's no items here. Click on the button above to get started!"])",
        emptyAddBelow: "@Html.Raw(Localizer.General["Looks like there's no items here. Click on the button below to get started!"])",
        emptyAddLeft: "@Html.Raw(Localizer.General["Looks like there's no items here. Click on the button to the left to get started!"])",

        deleteAliasConfirm: "@Html.Raw(Localizer.Alias["Are you sure you want to delete this alias?"])",
        deletePageConfirm: "@Html.Raw(Localizer.Page["Are you sure you want to delete this page?"])",
        deletePostConfirm: "@Html.Raw(Localizer.Post["Are you sure you want to delete this post?"])",
        deleteMediaSelectionConfirm: "@Html.Raw(Localizer.Media["Are you sure you want to delete selected media?"])",

        addCategory: "@Html.Raw(Localizer.Post["Add or select existing category"])",
        addTags: "@Html.Raw(Localizer.Post["Add or select existing tags (optional)"])",
        allCategories: "@Html.Raw(Localizer.Post["All categories"])",

        deleteUserConfirm: "@Html.Raw(Localizer.Security["Are you sure you want to delete this user?"])",
        userIsSaved: "@Html.Raw(Localizer.Security["User is saved."])",
        errorOccurred: "@Html.Raw(Localizer.General["An error occurred"])",

        aspectLabel: "@Html.Raw(Localizer.Media["Preferred aspect"])",
        aspectOriginal: "@Html.Raw(Localizer.Media["Original"])",
        aspectLandscape: "@Html.Raw(Localizer.Media["Landscape"])",
        aspectPortrait: "@Html.Raw(Localizer.Media["Portrait"])",
        aspectWidescreen: "@Html.Raw(Localizer.Media["Widescreen"])",
        aspectSquare: "@Html.Raw(Localizer.Media["Square"])"
    });
</script>
